The standard instrument is equipped with a GPIB bus (IEC/IEEE bus) connection. The two interface connectors labeled IEC BUS and IEC SYSTEM BUS are located on the rear panel of the instrument.
The IEC BUS connector is intended for remote control of the analyzer from a controller.
The IEC SYSTEM BUS can be used to control further devices from the analyzer.
Always use a shielded cable to connect the
GPIB bus interfaces.
|
|
Characteristics of the interface
|
The analyzer provides the following functions to communicate via GPIB bus:
Instruments which can be controlled via GPIB bus can be equipped with different interface functions. The interface function for the network analyzer are listed in the following table.
|
Control character |
Interface function |
|
SH1 |
Handshake source function (source handshake), full capability |
|
AH1 |
Handshake sink function (acceptor handshake), full capability |
|
L4 |
Listener function, full capability, de-addressed by MTA. |
|
T6 |
Talker function, full capability, ability to respond to serial poll, deaddressed by MLA |
|
SR1 |
Service request function (Service Request), full capability |
|
PP1 |
Parallel poll function, full capability |
|
RL1 |
Remote/Local switch over function, full capability |
|
DC1 |
Reset function (Device Clear), full capability |
|
DT1 |
Trigger function (Device Trigger), full capability |
Interface messages are transmitted to the instrument on the data lines, with the attention line being active (LOW). They serve to communicate between controller and instrument.
Universal Commands
Universal commands are encoded in the range 10 through 1F hex. They are effective for all instruments connected to the bus without pervious addressing.
|
Command |
QuickBASIC command |
Effect on the instrument |
|
DCL |
IBCMD (controller%, CHR$(20)) |
Aborts the processing of the commands just received and sets the command processing software to a defined initial state. Does not change the instrument settings. |
|
IFC |
IBSIC (controller%) |
Resets the interfaces to the default setting. |
|
LLO |
IBCMD (controller%, CHR$(17)) |
The LOC/IEC ADDR key is disabled. |
|
SPE |
IBCMD (controller%, CHR$(24)) |
Ready for serial poll. |
|
SPD |
IBCMD (controller%, CHR$(25)) |
End of serial poll. |
|
PPU |
IBCMD (controller%, CHR$(21)) |
End of the parallel-poll state. |
Addressed Commands
Addressed commands are encoded in the range 00 through 0F hex. They are only effective for instruments addressed as listeners.
|
Command |
QuickBASIC command |
Effect on the instrument |
|
GET |
IBTRG (device%) |
Triggers a previously active device function (e.g. a sweep). The effect of the command is the same as with that of a pulse at the external trigger signal input. |
|
GTL |
IBLOC (device%) |
Transition to the "Local" state (manual control). |
|
PPC |
IBPPC (device%, data%) |
Configures the instrument for parallel poll. Additionally, the QuickBASIC command executes PPE/PPD. |
|
SDC |
IBCLR (device%) |
Aborts the processing of the commands just received and sets the command processing software to a defined initial state. Does not change the instrument setting. |
Instrument messages (commands) are transferred on the data lines of the GPIB bus while the ATN line is not active. ASCII code is used.
Structure and syntax of the instrument messages are described the SCPI Reference chapter. The chapter also provides a detailed description of all messages implemented by the analyzers.